﻿<Window x:Class="MiniUML.View.Windows.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:views="clr-namespace:MiniUML.View.Views"
        xmlns:controls="clr-namespace:MiniUML.View.Controls"
        Title="{Binding prop_WindowTitle}" Height="600" Width="1000" Icon="{DynamicResource ApplicationIcon}">

    <Grid>

        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>

        <Grid.RowDefinitions>
            <RowDefinition Height="115"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <views:RibbonView x:Name="_ribbonView" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2"
                          DataContext="{Binding vm_RibbonViewModel}"/>

        <views:DocumentView x:Name="_documentView" Grid.Row="1" Grid.Column="0"
                            DataContext="{Binding vm_DocumentViewModel}"/>
    </Grid>
    
</Window>
